package com.bluesky.javawebbrowser.domain.html.tags.list;

import com.bluesky.javawebbrowser.domain.html.tags.Tag;
import com.bluesky.javawebbrowser.domain.html.tags.TagType;

public class LI extends Tag {
	public LI() {
		super(TagType.LI);
	}
	
	public void setText(String text){
		
		
		Tag textTag = new Tag(TagType.TEXT_BLOCK);
		textTag.setBody(text);
		
		getChildren().clear();
		addChild(textTag);		
	}
}
